/*
 * @Description:
 * @Version: 1.0
 * @Author: liguansheng
 * @Date: 2022-07-25 11:48:10
 * @LastEditors: liguansheng
 * @LastEditTime: 2022-08-23 09:45:20
 */
import axios from '@/utils/request'

export function applicationConfiguration() {
  return axios({
    url: '/api/abp/application-configuration',
    method: 'get',
  })
}

// 修改密码
export function changePassword(data: {
  currentPassword: string
  newPassword: string
}) {
  return axios({
    url: '/api/identity/my-profile/change-password',
    method: 'post',
    data,
  })
}
